<?php  
//***************************************************************************************************************************************************************
// ALL COMMON FUNCTIONS FOR ADMIN AREA WILL BE HERE
//***************************************************************************************************************************************************************
function CheckAdminLogin()
{	
	if(!isset($_SESSION["admin_id"])){
		echo "<script language='javascript' type='text/javascript'>window.parent.location='../admin/index.php';</script>";
	}
}

?>